<form action="<?php echo $controller;?>showlist" method="get" class="filter-form-wrap" enctype="multipart/form-data">
    <div class="filter-wrap flex-row flex-justify-between flex-align-start flex-nowrap">
        <div class="flex-column flex-justify-center flex-align-start flex-nowrap" style="width: 60%;">
            <div class="flex-row flex-justify-start flex-nowrap flex-align-center marginTB-5">
                <span style="width: 60px;">起止时间</span>
                <input type="text" name="start" id="startpicker" class="marginLR-5" value="<?php if (isset($start)):?><?php echo $start;?><?php endif;?>">
                <span style="width: 20px;">至</span>
                <input type="text" name="end" id="endpicker" class="marginLR-5" value="<?php if (isset($end)):?><?php echo $end;?><?php endif;?>">
            </div>
            <div class="flex-row flex-justify-start flex-nowrap flex-align-center marginTB-5">
                <span style="width: 60px;">提问者</span>
                <input type="text" name="fusername" class="marginLR-5" style="width: 330px;" value="<?php if (isset($fusername)):?><?php echo $fusername;?><?php endif;?>">
            </div>
            <div class="flex-row flex-justify-start flex-nowrap flex-align-center marginTB-5">
                <span style="width: 60px;">问题</span>
                <input type="text" name="fquestion" class="marginLR-5" style="width: 330px;" value="<?php if (isset($fquestion)):?><?php echo $fquestion;?><?php endif;?>">
            </div>
        </div>
        <div class="flex-row flex-align-start flex-justify-start" style="width: 40%;">
            <div class="filter-btn marginTB-5">筛选</div>
            <div class="reset-btn" style="margin:5px 10px;">重置</div>
        </div>
    </div>
</form>
<script type="text/javascript">
    $(function () {
        var config = {showAnim:'drop',dateFormat:'yy-mm-dd',changeMonth:true,changeYear: true,
        monthNamesShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]};
        $('#startpicker').datepicker(config);
        $('#endpicker').datepicker(config);
    });
</script>